package com.clkj.xiuzheng.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author yawang
 */
@ApiModel( value ="t_cl_customerVisit" )
@Table( name ="t_cl_customerVisit" )
public class CustomerVisit  implements Serializable {

    @Id
   	@Column(name = "visit_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer visitId;

	/**
	 * 客户Id
	 */
   	@Column(name = "customer_id" )
	@ApiModelProperty( value="客户Id")
	private Integer customerId;

	/**
	 * 是否首次拜访
	 */
   	@Column(name = "is_first" )
	@ApiModelProperty( value="是否首次拜访")
	private Integer isFirst;

	/**
	 * 维度
	 */
   	@Column(name = "visit_lat" )
	@ApiModelProperty( value="维度")
	private String visitLat;

	/**
	 * 经度
	 */
   	@Column(name = "visit_long" )
	@ApiModelProperty( value="经度")
	private String visitLong;

	/**
	 * 拜访定位
	 */
   	@Column(name = "visit_position" )
	@ApiModelProperty( value="拜访定位")
	private String visitPosition;

	/**
	 * 拜访时间
	 */
   	@Column(name = "visit_date" )
	@ApiModelProperty( value="拜访时间")
	private String visitDate;

	/**
	 * 拜访备注
	 */
   	@Column(name = "visit_note" )
	@ApiModelProperty( value="拜访备注")
	private String visitNote;

	/**
	 * 用户Id
	 */
   	@Column(name = "user_id" )
	@ApiModelProperty( value="用户Id")
	private Integer userId;

   	@Column(name = "company_id" )
	@ApiModelProperty( value="null")
	private Integer companyId;

   	@Transient
    private String customerShopName;
   	@Transient
    private String customerAddress;
    @Transient
   	private String customerTel;

    @Transient
    private String customerImg;
    @Transient
    private String customerSex;
    @Transient
    private String customerName;
    @Transient
    private String customerNote;

  public Integer getVisitId() {
    return visitId;
  }

  public void setVisitId(Integer visitId) {
    this.visitId = visitId;
  }


  public Integer getCustomerId() {
    return customerId;
  }

  public void setCustomerId(Integer customerId) {
    this.customerId = customerId;
  }


  public Integer getIsFirst() {
    return isFirst;
  }

  public void setIsFirst(Integer isFirst) {
    this.isFirst = isFirst;
  }


  public String getVisitLat() {
    return visitLat;
  }

  public void setVisitLat(String visitLat) {
    this.visitLat = visitLat;
  }


  public String getVisitLong() {
    return visitLong;
  }

  public void setVisitLong(String visitLong) {
    this.visitLong = visitLong;
  }


  public String getVisitPosition() {
    return visitPosition;
  }

  public void setVisitPosition(String visitPosition) {
    this.visitPosition = visitPosition;
  }


  public String getVisitDate() {
    return visitDate;
  }

  public void setVisitDate(String visitDate) {
    this.visitDate = visitDate;
  }


  public String getVisitNote() {
    return visitNote;
  }

  public void setVisitNote(String visitNote) {
    this.visitNote = visitNote;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public Integer getCompanyId() {
    return companyId;
  }

  public void setCompanyId(Integer companyId) {
    this.companyId = companyId;
  }

    public String getCustomerShopName() {
        return customerShopName;
    }

    public void setCustomerShopName(String customerShopName) {
        this.customerShopName = customerShopName;
    }

    public String getCustomerAddress() {
        return customerAddress;
    }

    public void setCustomerAddress(String customerAddress) {
        this.customerAddress = customerAddress;
    }

    public String getCustomerTel() {
        return customerTel;
    }

    public void setCustomerTel(String customerTel) {
        this.customerTel = customerTel;
    }

    public String getCustomerImg() {
        return customerImg;
    }

    public void setCustomerImg(String customerImg) {
        this.customerImg = customerImg;
    }

    public String getCustomerSex() {
        return customerSex;
    }

    public void setCustomerSex(String customerSex) {
        this.customerSex = customerSex;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerNote() {
        return customerNote;
    }

    public void setCustomerNote(String customerNote) {
        this.customerNote = customerNote;
    }
}
